import Vue from 'vue';
import App from './App';
import router from './router';
import axios from 'axios' // todo 为什么没有改成wsloan的
import Qs from 'qs';
// import pdf from './pages/pdf/index';
// Vue.use(pdf);
// import initAjax from './axios/index';
// Vue.prototype.$get = initAjax('get');
// Vue.prototype.$post = initAjax('post');

Vue.config.productionTip = false;

import { Toast } from 'vux'

Vue.component('toast', Toast)

import  { ToastPlugin } from 'vux'

Vue.use(ToastPlugin)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});